DX11 BUILD SCALING MATRIX

Builds a matrix that scales along the x, y and z axii.

  Syntax
Return Dword = DX11 BUILD SCALING MATRIX(x, y, z, [resultMatrix])
  Parameters
x
Float
The scaling along the X axis.
y
Float
The scaling along the Y axis.
z
Float
The scaling along the Z axis.
[Optional] resultMatrix
Dword
The matrix to write the created scaling matrix to. Can be omitted, in which case a temporary matrix holding the generated scaling matrix will be returned.

  Returns

The resultMatrix, if one was provided, or a newly created temporary matrix holding the resulting matrix otherwise.

  See also

MATH Functions Menu
DX11 Function Categories